
import { createRequest } from './index'

//退出项目
// export const quitMyProject = (projectId) => {
//     return createRequest({
//         url: `/student/student-project/quit/${projectId}`,
//         method: 'post',
//     })
// }

//退出小组
export const quitMyProject = (data) => {
    return createRequest({
        url: `/student/project-team/exitTeam`,
        method: 'post',
				params:data
    })
}

//获取本项目的岗位ID
export const getJobId = (projectId) => {
    return createRequest({
        url: `/student/project-job/getMyJob/${projectId}`,
        method: 'get',
    })
}